Skip to content

Conversation

@BernardXiong
Copy link
Member

  • 对尺寸进行优化,同时工程中只保留一个node_modules目录;
  • 修正dev和optimize_size分支合并的冲突;

- Removed dependencies from package.json to streamline the file.
- Created a backup of the original package.json for reference.
- Removed ElementPlus usage from main.ts to simplify the app initialization.
- Updated vite.config.ts to include auto-import and component resolvers for ElementPlus.
- Configured Terser for better minification and set options to drop console and debugger statements.
- Adjusted CSS code splitting to merge all CSS into a single file.
@BernardXiong BernardXiong merged commit c1e097a into RT-Thread:main Jul 20, 2025
2 checks passed
@BernardXiong BernardXiong deleted the fix_optimize_size branch July 20, 2025 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant